package com.kingmed.kmss.framework.feign.client.auth;


import com.kingmed.kmss.common.dto.admin.ums.OACheckDTO;
import com.kingmed.kmss.common.exception.external.ExternalApiException;
import feign.Response;
import org.springframework.stereotype.Component;


@Component
public class RemoteOAFallbackService implements RemoteOAService {

    @Override
    public Response proxyValidate(OACheckDTO oaCheckDTO) {
        throw new ExternalApiException("单点登录验证OA.ticket失败");
    }

    @Override
    public Response oaLoginTickets(OACheckDTO oaCheckDTO) {
        throw new ExternalApiException("OA接口获取ticket失败");
    }
}
